JAVA, Programmimg Languages, Tips, Tricks

Mistakes to avoid while coding in getters and setters | Java Programming | Java Tips

Hi friends, in this post , I'll taught you about the simple mistakes that you have to avoid while programming with getters and setters. In Java programming, it seems that writing getters and setters for instance fields of a class is very straightforward without any special care. Especially with auto-generate features provided by modern IDEs… Continue reading Mistakes to avoid while coding in getters and setters | Java Programming | Java Tips

Advertisements
JAVA, Programmimg Languages, Tips, Tricks

Mistakes to avoid while coding in getters and setters | Java Programming | Java Tips

Hi friends, in this post , I'll taught you about the simple mistakes that you have to avoid while programming with getters and setters. In Java programming, it seems that writing getters and setters for instance fields of a class is very straightforward without any special care. Especially with auto-generate features provided by modern IDEs… Continue reading Mistakes to avoid while coding in getters and setters | Java Programming | Java Tips

JAVA, Programmimg Languages

JCalender

Introduction JCalendar is a Java date chooser bean for graphically picking a date. JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. All these beans have a locale property, provide several icons (Color 16×16, Color 32×32, Mono 16×16 and Mono 32×32) and their own locale property editor. So they… Continue reading JCalender

Database, JAVA, MySQL

How to connect java application with MySQL database using netbeans IDE | MySQL |Netbeans | Java | JDBC |

In this post I tell you how to connect your java application with the MySQL database by using netbeans IDE. As this post is the part of series of posts of "MySQL database". Where you can learn MySQL with JDBC without the help of guidance. As in our previous post how to create a database in… Continue reading How to connect java application with MySQL database using netbeans IDE | MySQL |Netbeans | Java | JDBC |

Database, JAVA, MySQL, Programmimg Languages

How to create Database? | MySQL | MySQL command line window | (In Java)

In this post, I teach u how to create a database in MySQL command line Window. I know there are many websites and blogs where you can learn this. So what is special in mine post??  The answer is that on all the other websites and blogs u can't understand properly the whole MySQL without… Continue reading How to create Database? | MySQL | MySQL command line window | (In Java)

Assignment, Books, JAVA, MCQ, PDFs, Programmimg Languages

MCQ on Java Programming Language [Solved PDF] – 12

1) Which of the following statement is/are true? i) The name of a java program file must match the name of the class with the extension .java ii) Two methods cannot have the same name in java A. i- only B. ii- only C. Both i and ii D. None of the above 2) Which… Continue reading MCQ on Java Programming Language [Solved PDF] – 12

Books, JAVA, MCQ, PDFs, Programmimg Languages

MCQ on Java Programming [Solved PDF] – 11

1. If m and n are int type variables, what will be the result of the expression m%n when m=-14 and n=-3? A) 4 B) 2 C) -2 D) -4 2. Consider the following code if(number>=0) if(number>0) system.out.println("Number is positive"); else system.out.println("Number is negative"); What will be the output if number is equal to 0?… Continue reading MCQ on Java Programming [Solved PDF] – 11