Visvesvaraya Technological University Belgaum, Karnataka, India
Java
Class notes
JAVA TUTORIAL
2 views 0 purchase
Course
Java
Institution
Visvesvaraya Technological University Belgaum, Karnataka, India
Java is an object-oriented, class-based, high-level programming language used for software development, mobile application development, website development, desktop application development, and much more. Java is one of the leading and in-demand programming languages in the current IT industry.
Visvesvaraya Technological University Belgaum, Karnataka, India
Java
All documents for this subject (1)
Seller
Follow
chethanm
Content preview
Java Tutorial for Beginners
Programming with Mosh
Mosh is a software engineer with two decades of experience and he's taught over 3
million people how to code. He's designed this course for anyone who wants to learn
Java if you're a beginner do n't worry I 'll make Java super simple and hold your
hands through this entire course. I hope you'll stick around and learn this
beautiful and powerful programming language. We 're gon na look at the anatomy of a
Java program in this java tutorial. The smallest building block in java programs
are functions if function is a block of code that performs a task as a metaphor
think of the buttons on the remote control of your TV. IntelliJ IDEA is absolutely
free and it 's more than enough for this course so download all right now. After
the parentheses we had a pair of curly braces and inside these braces we write the
actual Java code. Every Java program should have at least one function and that
function is called main so main is the entry point to our programs whenever we
execute a Java program the main function gets called and the code inside this
function gets executed.
A class is a container for related methods so we use classes to organize our code
by the same token we have a concept called package and we use a package to group
related classes so as our applications grow we 're gon na end up with hundreds or
even thousands of classes so we should properly organize this class us into
packages. The base package for a Java project is the domain name of your company in
Reverse. Code editor might look a little bit intimidating at first but trust me it
's really easy and you 're gon na learn about it throughout this course. For now
just type a base package for your project it can become that your name or whatever
it does n't really matter all right now let 's go forward. Marsh has put together a
comprehensive cheat sheet with summary notes that you can download below this
video. IntelliJ is building our application and we can see the result in this
little terminal window so here's our hello work message so that was our first Java
program next I 'm going to explain how Java code gets executed under the hood.
IntelliJ uses the Java compiler to compile our code into a different format called
Java bytecode. This Java code is platform independent and that means it can run on
Windows Mac Linux or any operating systems that has a Java runtime environment.
Java applications are portable or platform independent. Java was developed by James
Gosling in 1995 at Sun Microsystems which was later acquired by Oracle in 2010.
Java has close to 9 million developers worldwide currently about 3 billion mobile
phones run Java as well as 120 million TV sets and every blu-ray player. Average
salary of a Java developer is just over $ 100,000 per year in the US. This course
is the first part of my complete four-part Java series. Each part is about three to
four hours long so it can easily complete it in a day or two. The first part will
give you a solid foundation on how to start programming in Java in the second part
we 'll talk about object oriented programming which is a style of programming use
in most if not all Java applications. The third part will talk about core Java API
is or application programming interfaces.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller chethanm. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.