Signup as a Tutor

As a tutor you can connect with more than a million students and grow your network.

IT Courses/Java

Sir tell me some tips to code in java?

Asked by Last Modified  

Answer
Follow 0

Please enter your answer

15 Answers   1 Likes | 0 DisLikes

Practising the examples is the best to get more knowledge in java. After you get some confidence then you can go for tips.

Comments
Dislike Bookmark

Java Techonologies

Buy a scjp book by Katty Sierra and do practise every day you will become master one day in java

Comments
Dislike Bookmark

B.Tech CS working as Software Engineer in product based company

Go through Balaguruswamy and Oracle Java Specifications.

Comments
Dislike Bookmark

Join Urbanpro.com, India’s most trusted education portal for your learning requirements

POST YOUR REQUIREMENT NOW

BTech/MCA/BCA Tutor

First of all u need to get the concept of java. i.e. Identify the area of interest and the corresponding attributes. this is half way done. then step by step u learn what is constructor, method overloading, inheritance.

Comments
Dislike Bookmark

Better to start with some core JAVA programming.

Comments
Dislike Bookmark

Java/J2EE, B.E./B.Tech/MCA SubjectsTraining

Start programming with basic core java programs with the help of Examples and then move to other tough programs step by step once all concepts of previous program is clear.

Comments
Dislike Bookmark

Read from a standard book and practice

Comments
Dislike Bookmark

Experience in Java and Android Trainer.

Should be sound knowledge in OOPs concept and then practice SCJP example programming.

Comments
Dislike Bookmark

View my profile @in.linkedin.com/in/saxena0703

serialVersionUID is a version control mechanism in a Serializable class. If you do not explicitly declare a serialVersionUID, JVM will do it for you automatically. This ID is used during deserialization to verify that the sender and receiver of a serialized object are compatible with respect to serialization. If the receiver has loaded a class for the object that has a different serialVersionUID than that of the corresponding sender's class, then deserialization will result in an InvalidClassException. You can learn more about this here:http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html

Comments
Dislike Bookmark

Tip 1: Avoid creating unnecessary objects and always prefer to do Lazy Initialization Tip 2: Never make an instance fields of class public Tip 3: Always try to minimize Mutability of a class Tip 4: Try to prefer Interfaces instead of Abstract classes Tip 5: Always try to limit the scope of Local variable Tip 6: Try to use standard library instead of writing your own from scratch Tip 7: Wherever possible try to use Primitive types instead of Wrapper classes Tip 8: Use Strings with utmost care. Tip 9: Always return empty Collections and Arrays instead of null Tip 10: Defensive copies are savior

Comments
Dislike Bookmark
Related Questions

IT Courses/Java

Why we are using this keyword in Java?

Asked by Kiran Bulkquestions 11 Jul

Answer 7
Follow 5
Answer submitted successfully. ×

Please enter your answer

IT Courses/Java

What is the purpose of using throws keyword in java?

Asked by Saritha Bulkquestions 11 Jul

Answer 10
Follow 8
Answer submitted successfully. ×

Please enter your answer

IT Courses/Java

Is synchronized keyword necessary, in Java, if everything that is modified in a function is local to that function?

Asked by Abishiek Bulkquestions 11 Jul

Answer 5
Follow 1
Answer submitted successfully. ×

Please enter your answer

IT Courses/Java

What programming languages should a freshman learn if he already knows C, C++, Java and Python?

Asked by Sushmita Bulkquestions 11 Jul

Answer 7
Follow 5
Answer submitted successfully. ×

Please enter your answer

IT Courses/Java

What is the use of the "this" keyword in Java?

Asked by Deepak Bulkquestions 11 Jul

Answer 9
Follow 6
Answer submitted successfully. ×

Please enter your answer

Looking for a Tutor?

Find best Tutors in your locality on UrbanPro.

FIND NOW

Now ask questions in any of the 1500+ Categories, and Get Answers from Tutors on UrbanPro.com

ASK A QUESTION

Related Lessons

Comparable vs Comparator

java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For implementing Comparable, access to the original class...

ClassNotFoundException vs NoClassDefFoundError

ClassNotFoundException NoClassDefFoundError It is an exception and happens due to programmer’s mistake and can be recovered by updating the code. Thrown when an application tries to load a class through its String name using Class.forName or...

Java: A Quick Overview

Not purely Object Oriented: It doesn't support multiple inheritence, it supports primitive data types and static members. Doesn’t support multiple inheritance: Reason is diamond problem i.e., if both parent classes have same method & not overridden...

Features Of Java

There is given many features of Java. They are also known as java buzzwords. The Java Features given below are simple and easy to understand. Simple. Object-Oriented. Portable. Platform independent. Secured. Robust. Architecture neutral. Dynamic. Interpreted. High...

JAVA Version History

Java Version History: There are many java versions that has been released. Current stable release of Java is Java SE 8. JDK Alpha and Beta (1995). JDK 1.0 (23rd Jan, 1996). JDK 1.1 (19th Feb, 1997). J2SE 1.2 (8th Dec, 1998). J2SE 1.3 (8th May, 2000). J2SE...

Sponsored

Find Best Java Training Classes?

Find Now »