Java NetBeans tutorial for beginners: Simple calculator in 5 minutes

Опубликовано: 31 Октябрь 2024
на канале: Sandeep Pushp
67,091
698

Here is the code which is written in + - / * button:

int num1=Integer.parseInt(a.getText());
int num2=Integer.parseInt(b.getText());
int num3=num1+num2;
c.setText(""+num3);

/// change the + operator according to your output


Check Out Other Easy Tutorial:
NetBeans tutorial Add image in jframe
   • NetBeans tutorial Add image in jframe  
NetBeans tutorial : table of any number HD
   • NetBeans tutorial :  table of any number  


Hope you like the video, stay connected to get more stuff