Core Java

Before starting of with Core Java, let’s be familiar with the term ,’Java’. Table of content for Core Java: 1. What is Core Java? 2. Why Core Java? 3. How to prepare for Core Java? 4. Important materials for Core Java : a.  E-books of Core Java: b. Videos on Core Java: 5. Sample Test papers with answers: 6. Certifications on Core Java: 7. Important tips on Core Java:

Core Java
Core java programming

1. What is Core Java? Java is a popular programming language, created in 1995. It is owned by Oracle, and more than 3 billion devices run Java. It is used for:

  • Mobile applications (specially Android apps)
  • Desktop applications
  • Web applications
  • Web servers and application servers
  • Games
  • Database connection
  • And much, much more!

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacentres, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere! 2. Why Core Java?

  • Java works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
  • It is one of the most popular programming language in the world
  • It is easy to learn and simple to use
  • It is open-source and free
  • It is secure, fast and powerful
  • It has a huge community support (tens of millions of developers)
  • Java is an object oriented language which gives a clear structure to programs and allows code to be reused, lowering development costs
  • As Java is close to C++ and C#, it makes it easy for programmers to switch to Java or vice versa

Benefits of Core Java: Top 10 benefits of learning Core Java 1. Tons of resources to learn Java Being mature and mostly used programming language, there are numerous resources available to learn Java that may include internet, community and institutes. 2. Lots of job opportunities Programmers who have a good knowledge on Java are on high demand. The widely used programming language continues to create jobs in the technology industry. Also, the popularity of Android apps are growing, this is also creating countless opportunities for an Android developer who write native apps in Java. 3. it’s an Object Oriented Programming Language As it is an Object Oriented Programming language, the concepts of Java are much easier which are relatable too. An object oriented property makes it a flexible, system modular, and extensible programming language. 4. Java is open source You don’t need to pay any amount to write application in Java due to its open source nature. Java is an open source programming language which can be found easily in the internet at the official website of Java. 5. Java’s Rich API The main success behind JAVA is its rich API system. Java comes with a wide set of tools which is supported by Java’s open source ecosystem and there is everything you’ll need while working with Java. 6. Powerful development tools The powerful IDEs which are available for has taken Java to the top level. Eclipse and Net beans have made coding in Java a mindful and pleasant experience. Also, they offer a high-level of debugging assistance to the programmers. 7. Universal usage Java programming language is scalable and stable. Java is everywhere like mobiles, desktops, large scale applications etc.  Java programmers have outnumbered other programmers universally. 8. Great community support There are among 10 million Java developers worldwide. Java community is growing continuously. Java is present on multiple forum platform like stack overflow, expert java programmers always helps the new ones. 9. Finds use in real-world applications Since Java is used in popular websites like Amazon.com, eBay.com etc., it has a strong development roadmap and there is always an improvement in security and performance. 10. Java is easy to learn Most of the learners and developers use Java in first priority as Java is easy to learn. With easy syntax, is easy to learn in a short span of time which is used to build useful applications. 3. How to prepare for Core Java?

  1. Code Every Day. There is no substitute for coding.
  2. Join a Good Course.
  3. Read a Good Study Book.
  4. Choose a Good Exam Simulator.
  5. Regularly Participate on Forums.
  6. Solve As Many Practice Questions As Possible.

Join an Online Course In my opinion, online courses are one of the best ways to learn new technology in a short period, and that also holds true for preparing a certification exam like Oracle’s Java certification. They are the second-best way, just next to a personal instructor or classroom training. You learn actively from experienced professionals who have gone through that path and know exactly where the breakers are and where the road is bumpy. Read a Study Guide for Core Java Apart from an online course, you also need a good book or study guide, which 100% cover the exam topics or syllabus. So depending on which Exam you are going to take, buy the corresponding certification guide. Write Code Daily for Core Java One of the best ways to prepare for Java certification is to write code daily. Try to code the questions and examples given in the book and see if the answer matches the output of the program. This will not only develop your coding ability but also improve your code reading ability, which is very important to solve Java Puzzles from actual exams. Participate in Code Ranch Forum Along with good study material, you also need an environment to boost your preparation, and there is no better place to get that environment than http://coderanch.com/. It was earlier known as the Java ranch forum, and it is undoubtedly the best place to hang out if you are preparing for Java certifications.  Solve Practice Questions from Book You should first try to solve the practice questions, quizzes, fill in the blanks and other exercises given in your book or Study guide, and always solve them honestly like know everything about them. For example, once you are done with one question, you should know what is expected, why the correct answer is right, and why all other answers are incorrect. Syllabus for Core Java: Introduction

  • Why Java
  • Paradigms
  • Diff B/W Java & Other (C,C++)
  • Java History
  • Java Features
  • Java programming format
  • Java Statements
  • Java Data Types

OOPS (Object Oriented Programming & Systems)

  • Introduction
  • Object
  • Constructors
  • This Key Word
  • Inheritance
  • Super Key Word
  • Polymorphism (Over Loading & Over Riding)
  • Abstraction
  • Interface
  • Encapsulation
  • Introduction to all predefined packages
  • User Defined Packages
  • Access Specifiers

STRING Manipulation

  • String
  • String Buffer

Array

  • What is Array
  • Single Dimensional Array
  • Multi-Dimensional Array
  • Sorting of Arrays

Packages Exception Handling

  • Introduction
  • Pre-Defined Exceptions
  • Try-Catch-Finally
  • Throws, throw
  • User Defined Exception examples

I/O Streams

  • Introduction
  • Byte-oriented streams
  • Character – oriented streams
  • File

Multithreading

  • Introduction
  • Thread Creations
  • Thread Life Cycle
  • Life Cycle Methods
  • Synchronization
  • Wait() notify() notify all() methods

Wrapper Classes

  • Introduction
  • Byte, Short, Integer, Long, Float, Double, Character
  • Boolean classes

Inner Classes

  • Introduction
  • Member Inner Class
  • Static Inner Class
  • Local Inner Class
  • Anonymous Inner Class

Collection Frame Work

  • Introduction
  • Util Package interfaces, List, Set, Map
  • List Interface 7 Its Classes
  • Set Interface & Its Classes
  • Map Interface & Is Classes

AWT

  • Introduction
  • Components
  • Event-Delegation-Model
  • Listeners
  • Layouts
  • Individual Components Label, Button, Check Box, Radio Button,
  • Choice, List, Menu, Text Field, Text Area

SWING (JFC)

  • Introduction Diff B/W AWT and SWING
  • Components hierarchy
  • Panes
  • Individual Swings components J Label
  • JButton, JTextField, JTextAres

4. Important materials of Core Java: a. E-books for Core Java: 1. Head First Java by Kathy Sierra & Bert Bates This book published by the well-known and trusted O’Reilly publishing house was the first step into Java for many programmers over the past decade. Not to be judged by its somewhat comical cover, Head First Java provides a thorough overview of OOP concepts and delves into topics like distributed computing and remote deployment. 2. Java: A Beginner’s Guide, Eighth Edition by Herbert Schildt If you’re looking for something a little more up-to-date and a lot more in-depth, you should take a look at Java: A Beginner’s Guide, Eighth Edition, written by bestselling author and leading Java authority Herbert Schildt. 3. Java 9 Programming by Example by Peter Verhas Published by Packet, Java 9 Programming by Example is, as the name suggests, for people who like to learn from examples and can’t wait to get doing. This book attempts to bridge the gap between learning and doing by providing real-world examples that promise to improve your software development skills. 4. Effective Java, 3rd Edition by Joshua Bloch Some claim this book is a must-read for every Java developer, and previous editions of it won the Jolt award. With the book author also being the author of popular Java classes and APIs, like java. Lang and Java Collection framework, it’s worth a read. Especially if you’re looking to focus on learning and applying best practices in your Java code. 5. Java Concurrency in Practice by Brian Goetz and Tim Peierls Although somewhat outdated as it only covers Java 5, Java Concurrency in Practice is still a highly recommended resource for Java programmers looking to understand concurrency and multithreading in Java. It’s important to note that this is not an easy read, but considering how complex the topic discussed is, it actually does a fair job at explaining it in depth.

  1. Java: The Complete Reference, Eleventh Edition by Herbert Schildt

One of the latest, freshest, most complete and up-to-date books on Java is without a doubt the Complete Reference by Herbert Schildt. b.Videos on Core Java: Java tutorials for beginners: https://youtu.be/ZXsFEie9GMc Java full course: https://youtu.be/hBh_CC5y8-s Java overview: https://youtu.be/whM2vDyAlr8 Learn java programming: https://youtu.be/uWYPVz_i7W4 5. Sample test papers with answers: Java sample paper1: http://www.polytechnic.brahmavalley.com/downloads-tabs-data/df/Sample_Question_Paper_5/12176%20-%20Java%20Programming(CM,IF).pdf 6. Certification on Core Java:

  • Complete Java SE 8 Developer Boot camp – OCA Prep Included.
  • Oracle Java Certification — Pass the Associate 1Z0-808 Exam.
  • The Complete Java Master class.
  • First Oracle Certification: Become a Certified Java Engineer.
  • Java Certification: OCA (1Z0-808) Practice Test.

7. Important tips on Core Java: 1. Get the basics right As Java offers so many features and options to the developers, people are sometimes lured into learning too many things in too little time. As a result of this, they get ‘bits and pieces’ knowledge of a few options that Java offers, but their basics hang on a loose thread. Trust me when I say this, Java is one programming language which is easy if you have paid attention to the simple basics, however; it can be frustrating if you get greedy and try to take the shorter route forward. 2. Don’t just read  Well, if your sole purpose of learning Java is to clear the exam you have the next day, go ahead and mug up all the things that you can and you might just get the passing marks. However; if you are really serious about learning Java and getting better at it, the best way to do it is not by reading, but by implementing. Gain knowledge and then execute what you have learnt, in the form of code. You can never learn Java if you are not willing to get your hands dirty. 3. Understand your code and algorithm Even if you are writing a simple code having a ‘if else’ statement, as a beginner, start by realizing the code on a piece of paper. The algorithm and the whole compiler process will look so meaningful once you understand the idea behind the code. Even for experts, the best way to solve a complex problem or to formulate an algorithm to solve a Java program is to break the problem into sub-parts and then try to devise a solution for each sub part. When you start getting the solutions right, you will get the confidence to work more. 4. Do not forget to allocate memory  This tip is particularly useful for those who switch from C, C++ to Java. The memory allocation in Java using the ‘new’ keyword is a necessity as Java is a dynamic programming language. C, C++ does not explicitly have this feature, therefore you must take care while handling array and object declaration in Java. Not using the ‘new’ keyword will show a null pointer exception in the code. 5. Avoid creating useless objects When you create an object in Java, you use up memory and processor speed from the system. Since object creation is incomplete without allocating memory to it, it is better to keep the object requirements under check and not create unwanted objects in the code. 6. Interface is better than Abstract class There is no multiple inheritance in Java, and this will be spoon fed to you so many times while learning the language that you will probably never forget it for the rest of your life. However; the tip here in not to remember that there is no multiple inheritance in Java, but the fact that interface will come in handy if you want to implement something like multiple inheritance without using the extends keyword. 7. Standard library is a bliss The biggest advantage that Java has over its predecessors, from a programming point of view, is probably its rich set of standard library methods.  Using Java’s standard library makes the job of a programmer easy, more efficient and gives a well organised flow to the code. Further, operations can be performed easily on the methods specified in the library. 8. Prefer Primitive classes over Wrapper Class Wrapper classes are no doubt, of great utility, but they are often slower than primitive classes. Primitive class only has values while the wrapper class stores information about the entire class.  Further, since wrapper classes often deal with object values, comparing them like the primitive classes does not give desired results as it ends up comparing objects instead of values stored in it.   10. Code, Code, Code There is so much to learn about Java that you just cannot get over with this programming language and it keeps getting more interesting and amusing, however; it is important to maintain the interest within to learn and the hunger to get better. A programming language like Java can be learnt on our own and with great success, but the only thing that is required is continuous learning and coding to test what you have learnt.  Java is a lot like playing a sport; the more you sweat in the practice, less you bleed in the match. If you are looking for training on core java, please register at:  https://elantechlab.com/courses/core-java/

Be the first to add a review.

Please, login to leave a review
Add to Wishlist
Get course
Enrolled: 0 students