Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. if {
  2. }
  3. else
  4. {
  5. try {
  6. }
  7. Catch(SQLException e){
  8. }
  9. }
  10.  
  11. public class Insertdata {
  12. void InsertData(){
  13. try {
  14. }
  15. Catch (SQLException e){
  16. }
  17. }
  18. }// END Of CLASS
  19.  
  20. InsertData id = new InsertData();
  21. id.InsertData();
  22.  
  23. public class SomeClass {
  24. public void method1(){
  25. if (someCondition){
  26. doSomething;
  27. }else{
  28. privateMethod()
  29. }
  30. }
  31.  
  32. private void privateMethod(){
  33. doSomethingElse;
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement