Programming tutorial in java

in #hiveph2 years ago

I will teach the basic first,you need a compiler to your program,then you need to know what is data type

Screenshot_20221107-081835.png

,data type is use to your variable and value these are the datatype that you may use int, char,boolean,String, long,short,and byte
import java.util.*;
to enter the user or type the question in the output

Then What is variable?
variable is a word or letter that you may use in datatype for example int is the datatype then r is the variable like this int r = 23; it have datatype variable and equal sign and value with semicolon to know the machine what is 23 or the value

What is value?
value is a number of the variable that you assigned in your program

how to use the other datatype?
If int you may use example above den string is text here is the example String hive = "legit";
you can see after the equal have a double qoutes then a text then semicolon.
boolean b= true; or false
then In that it similar to int but after the equal sign is true because it a binari the true or fals means if the statement is false in the System out print then binary is a 0and1 means 0 false then 1 is true .

Then the semicolon you can't remove that because you cannot run the program because it is part of the program .

The Curly braces
it is use to close the program that you do in a compiler.

This is the result of the program!!

Screenshot_20221107-081821.png

The output it said enter your name and middle name then last name and your age .because you've input the enter of your name in System out print and you have import and scanner
That will be todays discussion 😊😊
See yahh
.....
and soon I will share other in my programming language that I know

I hope you learned in my tutorial...

Sort:  

Invite nyo po mga classmates mo dito sa Hive.
Hindi lang po ito “blog to earn”,this is also an opportunity for all IT students to have an idea how blockchain and cryptocurrency works.

Actually po I've already said to them but they are so busy for this po

I took up a programming course in College. coding in different programming languages. but have not tried coding in Java. We did c++ and many more.

Owe great to hear I take c++ too in my first year it's so difficult at if you don't know but if know the basic in c++ it can take easyly for you

Can you teach me how in c++ because it's not clear to me the other part of c++ like in looping and array thanks

Gawa ka pa marami blog. Invite mo yong iba para kumita din while studying then support natin bawat isa.
God bless!

Okay po thanks

Oh thank you for sharing this to us. I will try to focus on this with my laptop soon.

Welcome I will post another here about programming

Thank you for sharing...use this platform to earn at the same time to share your knowledge...

Thanks..your welcome..soon I will post another here but the same programming

And this is one of the reason why it didn't cross my mind of taking this course back in college. Haha.

I will survive for my course hehe and I really learned about programming.because before I'm curious about how to make application and now it's a information technology build an application and site thats all

That's so good for you dear. How I wish to learn that too. But I guess, I can't. Hehe

But why ..you can do it too po

Parang mahirap eh. Hahaha..

Sa simula lng po Yan hehe

Sabagay. Walang mahirap kung pagsisikapan na matutunan. Tama ba? Hehe

Congratulations @catleen! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You got more than 50 replies.
Your next target is to reach 100 replies.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

CBRS Hive Infographic Contest - Get your badge and win 1000 HIVE
Our Hive Power Delegations to the October PUM Winners
Feedback from the November 1st Hive Power Up Day - New Turnout Record
Support the HiveBuzz project. Vote for our proposal!

Hey @catleen there's a community called "programming and development" I think this will suit your type of content as well. You can check it our here https://peakd.com/c/hive-169321/created. So far, using peak is far more convenient, so I'd suggest that you look into that and about communities too. I see that you're compiling on mobile too, which app do you use for that? do you also use external keyboard to type the code?

I'm using jvdroid in mobile I didn't use another keyboard to type