Skip to content

Instantly share code, notes, and snippets.

View coolsasindu's full-sized avatar
😀
Working from home

Sasindu umesh coolsasindu

😀
Working from home
  • https://bit.ly/3v8PLxm
  • Srilanka LK
  • X @Dappyoutube
View GitHub Profile
class Additive {
public static void main(String args[]){
System.out.println(4 + 2 ); // Output : 6
System.out.println(4 - 2 ); // Output : 2
System.out.println( 4 * 2 ); // Output : 8
System.out.println(4 / 2 ); // Output : 2
System.out.println(3 % 2 ); // Output : 1 3/2 = 1 Output the division remainder
public void colome(){
String fname = "Jhone" ;
String lname = "Smith" ;
String mname = "djo" ;
String txt = "<html> <font COLOR=RED SIZE =30> <b>"+ fname +" </b> </font> "
+"<font COLOR =Green SIZE =20> <u>"+mname+" </u> </font> "
package mylib_test;
import Tech_inbox.Founder;
public class Mylib_test {
/**
* @author coolsasindu@gmail.com
package Tech_inbox;
/**
*
* @author coolsasindu@gmail.com
* @author https://ezcod.blogspot.com/
* @author https://www.youtube.com/channel/UCIDeTJ1PXVcRbFrmyDKQKkg
*/
public class Founder {
@coolsasindu
coolsasindu / code.txt
Last active March 5, 2021 13:40
how to embed GitHub Code in Blogger (Blogpost) And Html
Hi three
First To Day Ill go to create how to embed GitHub code in blogger.
1. Go to layout > Add a Gadget > HTML/JavaScript and Click + Button.
2. Title Name is GitHub code Embed
3. Content Box Paste This Code
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script src="https://gist.github.com/coolsasindu/8a52e7a57f601b98ecfe0923bcc37b52.js"></script>
</body>
</html>
class Hello {
public static void main(String args[]){
System.out.println("Hello World This is ezcod.blogspot.com ");
}
}