JAVA Learning Group

Here you can talk about everything you want.
User avatar
JustAnyone
Developer
Reactions:
Posts: 3470
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

JAVA Learning Group

#1

Post by JustAnyone »

Here you can discuss about :java .
And of course learn about it.
Share your knowlegde with each other! Spread JAVA! And learn how to use JAVA Into your advantage.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3470
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: JAVA Learning Group

#2

Post by JustAnyone »

I am currently trying to make Clicker game application, how do I create list view thingy? I am going to add Auto click upgrades.

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: JAVA Learning Group

#3

Post by Bearbear76 »

I completely forgot java (still I didn't know too much)

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: JAVA Learning Group

#4

Post by Bearbear76 »

Something like snake
I heard it is easy (I don't know if it means easy for beginners or people like lobby)

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: JAVA Learning Group

#5

Post by Lobby »

Java is just a language. You have to use libraries to actually show something to your screen other than a command line. For Android, there's the Android SDK by Google which is really powerful but also not that easy to use. However, it allows you to point and click your UI which is useful at the beginning (you may have to use Android Studio to do so).

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: JAVA Learning Group

#6

Post by Bearbear76 »

Lobby wrote:
25 Aug 2017, 14:29
Java is just a language. You have to use libraries to actually show something to your screen other than a command line. For Android, there's the Android SDK by Google which is really powerful but also not that easy to use. However, it allows you to point and click your UI which is useful at the beginning (you may have to use Android Studio to do so).
But first shouldn't you learn the basics like
Cases or switch scanner (if I am right) things

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: JAVA Learning Group

#7

Post by Lobby »

Yes, that's probably helpful :)

User avatar
JustAnyone
Developer
Reactions:
Posts: 3470
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: JAVA Learning Group

#8

Post by JustAnyone »

Oh ok. But do I have A permission to share .APK File?

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: JAVA Learning Group

#9

Post by Bearbear76 »

JustAnyone wrote:
25 Aug 2017, 14:42
Oh ok. But do I have A permission to share .APK File?
Your own?

User avatar
JustAnyone
Developer
Reactions:
Posts: 3470
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: JAVA Learning Group

#10

Post by JustAnyone »

Bearbear65 wrote:
25 Aug 2017, 14:42
JustAnyone wrote:
25 Aug 2017, 14:42
Oh ok. But do I have A permission to share .APK File?
Your own?
Yes

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: JAVA Learning Group

#11

Post by Bearbear76 »

Yes

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: JAVA Learning Group

#12

Post by Lobby »

I think that's ok, as long as no viruses or illegal software are distributed that way.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3470
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: JAVA Learning Group

#13

Post by JustAnyone »

Oh ok. I will have that in mind. I will have to test everything in that app to be sure everything works.
For application thingy:
Username: TheoTown Forum
Password: thanks
You will get something awesome: (Just imagined one idea.)
Don't worry, I'm not evil. Virus free.

User avatar
khadafi laidi
Inhabitant of a Planet
Reactions:
Posts: 1313
Joined: 16 Dec 2016, 13:11
Location: Ternate, Indonesia
Plugins: Showcase Store
Version: Beta

Platform

Re: JAVA Learning Group

#14

Post by khadafi laidi »

Lobby wrote:
25 Aug 2017, 14:29
Java is just a language. You have to use libraries to actually show something to your screen other than a command line. For Android, there's the Android SDK by Google which is really powerful but also not that easy to use. However, it allows you to point and click your UI which is useful at the beginning (you may have to use Android Studio to do so).
OFF TOPIC:
Java real name in Indonesia Jawa

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JAVA Learning Group

#15

Post by Josh »

Here are some simple examples with a "if" code

Basic code

Code: Select all

public class Program {
    public static void main(String[] args) {
        
        //by Josh, have a nice day!
        
        int number = 1;
        //choose your number
        
        if (number > 0) {
            System.out.println("Higher than 0");
        }
        
        if (number < 0){
            System.out.println("Lower than 0");
        }        
    }
}
You can make a comment by putting // before your text, this will not have influence on your code

Another code

Code: Select all

public class Program {
    public static void main(String[] args) {
        
        //by Josh, have a nice day!
        
        int numberOne = 1;
        //choose your first number
        int numberTwo = 0;
        //choose your second number 
        
        if (numberOne > numberTwo) {
            System.out.println("Number one is higher than number two");
        }
        
        if (numberOne < numberTwo){
            System.out.println("Number two is higher than number one");
        }        
    }
}
You can also make a simple game with it :)

Code: Select all

public class Program {
    public static void main(String[] args) {
        
        //by Josh, have a nice day!
        
        int age = 18;
        //choose your age
        int money = 500;
        //choose how much money you have
        
        if (age > 18 || money > 500) {
            System.out.println("Welcome!");
            
        }
            
        if (age == 18 || money == 500) {
            System.out.println("Welcome!");
            //Haha I got you Lobby :)
        }
        
        if (age < 18 || money < 500) {
            System.out.println("Sorry but you are not allowed!");
        }        
    }
}

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JAVA Learning Group

#16

Post by Josh »

The "<, >" signs are for higher or lower. Example:

2 < 1
1 > 2

Number 2 is higher than number 1

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JAVA Learning Group

#17

Post by Josh »

I also recommend using the app Sololearn & Derek Banas tutorials on youtube, can be handy because I use them too, you only need to take your time!

Derek Banas: https://m.youtube.com/user/derekbanas

User avatar
JustAnyone
Developer
Reactions:
Posts: 3470
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: JAVA Learning Group

#18

Post by JustAnyone »

Want to hear a secret thingy? @Josh

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JAVA Learning Group

#19

Post by Josh »

Yes

User avatar
Josh
Graphic designer
Reactions:
Posts: 2214
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: JAVA Learning Group

#20

Post by Josh »

Java has 6 relational operators
> : Greater Than
< : Less Than
== : Equal To
!= : Not Equal To
>= : Greater Than Or Equal To
<= : Less Than Or Equal To

Locked Previous topicNext topic

Return to “Smalltalk”