This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public RadioButton nueva_tarjeta() { | |
rb_ciudad1.setText("Hola laura"); | |
Toast.makeText(getApplicationContext(),"Hello Javatpoint",Toast.LENGTH_SHORT).show(); | |
return testButton; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void nueva_tarjeta() { | |
rb_ciudad1.setText("Hola laura"); | |
Toast.makeText(getApplicationContext(),"Hello Javatpoint",Toast.LENGTH_SHORT).show(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RadioButton btn = (RadioButton) findViewById(R.id.mybutton); | |
btn.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
ira2(v); | |
} | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String respuesta = edtEditText.getText().toString().toUpperCase(); | |
if(respuesta.equals("PERU") || respuesta.equals("PERÚ")){ | |
return true; | |
}else{ | |
return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.TimeUnit; | |
public class Main | |
{ | |
public static void main(String[] args) { | |
long startTime = System.nanoTime(); | |
String word = "Hola mi nombre es Juri"; | |
System.out.println("Result: " + vowelOnly(word)); | |
long endTime = System.nanoTime(); | |
long totalTime = (endTime - startTime); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.TimeUnit; | |
public class Main | |
{ | |
public static void main(String[] args) { | |
long startTime = System.nanoTime(); | |
String word = "Hola mi nombre es Juri"; | |
System.out.println("Result: " + vowelOnly(word)); | |
long endTime = System.nanoTime(); | |
long totalTime = (endTime - startTime); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>E-commerce Registration</title> | |
</head> | |
<body> | |
<h2>E-commerce Registration Form</h2> | |
<form action="/submit_registration" method="post"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="checkbox" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Exercise 1</title> | |
<meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"/> | |
<style> | |
.container { | |
display: flex; | |
flex-direction: row-reverse; /* Changed from column to row-reverse */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener('DOMContentLoaded', function() { | |
const links = document.querySelectorAll('#ga-99cff7'); | |
links.forEach(link => { | |
link.addEventListener('click', function(event) { | |
event.preventDefault(); | |
console.log("Wow! We didn't navigate to a new page!"); | |
}); | |
}); | |
}); |
OlderNewer