Skip to content

MITCOE-IET-Student-Chapter/Java-Workshop-25-Jan-2018-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Programming Workshop 📘

Workshop conducted on 25th January 2018

Java Installation Instruction

Check if you already have java installed by opening your terminal, and firing the following command

javac -version

Installation for Linux Users

For linux user, it is recommended to install the open-source version of java openjdk,

To install open-jdk, fire the following command,

sudo apt-get install openjdk-8-jdk

Installation for Windows Users

Head on to Oracle's website, and download the Windows Package for your architecture.

Eclipse Installation Instruction

For Linux Users

For Linux users, install Eclipse Java Development, run the command,

sudo apt-get install eclipse-jdt

This will recursively install Eclipse Platform along with the Java Development Tools.

For Windows Users

Head on to Eclipse Official Page to download the Platform for Java EE Developers

Running your Java program

  1. To run your Java program, make sure that the parent class has the same name as that of the file. e.g. If Class Hello is your parent class, make sure you name your file Hello.java
  2. Compile the .java file by firing command, javac Hello.java, this will output you a .class file of the same name, i.e., for our case, Java-Compiler will generate Hello.class
  3. To run the code, fire the command, java Hello. Remember to exclude .class extention.

Topics covered in Workshop

  1. Introduction to OOP and Java Basics, Running Java program, Java Data types and operators, Control structures
  2. Arrays and Loops, functions in JAVA, Classes and Objects, Constructor
  3. Encapsulation in JAVA, Access modifiers , this, super and static
  4. Methods Overiding, Overloading, Abstract Class And Methods
  5. Interfaces, Packages and Access Control, Exceptions
  6. Multithreaded Programming

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages